-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here

-- Enable LazyVim auto format
-- 设置光标的颜色默认为拉姆的发(fà)色
vim.cmd("highlight Cursor gui=NONE guifg=bg guibg=#ffffff")
vim.g.autoformat = true

local opt = vim.opt
local indent = 2

opt.number = true
opt.relativenumber = true
opt.expandtab = true
opt.tabstop = indent
opt.timeoutlen = 500 --#press jj time

vim.o.background = "light"
vim.wo.cursorline = true
vim.cmd("highlight Normal guibg=#ffffff")

vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
